
package web;

import controladores.*;
import dominio.login;
import org.springframework.web.servlet.mvc.Controller;
import org.springframework.web.servlet.ModelAndView;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import java.io.IOException;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
/**
 *
 * Este controlador sirve para redireccionar la pagina de autenticar.
 */
public class ControladorSimpleInicio implements Controller{
    protected final Log logger = LogFactory.getLog(getClass());
    private login objLogin = new login();
    @Override
    public ModelAndView handleRequest(HttpServletRequest hsr, HttpServletResponse hsr1) throws Exception {
            return new ModelAndView("indexAutenticar");
    }

    public void setLogin(login logIn) {
        this.objLogin = logIn;
    }
}
